package com.company.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

@TableName("refresh_token")
@Data
@Builder
@AllArgsConstructor
public class RefreshTokenDO {

  @TableId(type = IdType.AUTO)
  private Long id;
  private String userId;
  private String token;
  private Long expireTime;
  private LocalDateTime createTime;
  private LocalDateTime updateTime;


}
